package cn.jobstart.search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import cn.jobstart.pubInter.BaseSearch;
import cn.jobstart.model.ResumeCertificate;
import java.util.Date;
import java.util.List;
import java.math.BigDecimal;
import lombok.Data;
/**
*   @author sunke
*   @Date 2023-09-22 22:03:53
*   @description ResumeCertificateSearch      证书
*/


@Data
@ApiModel("证书ResumeCertificateSearch")
public abstract class ResumeCertificateSearch<Sub extends ResumeCertificateSearch<Sub>> extends BaseSearch {
    @ApiModelProperty(value = "主键")
    private List idIn;
    @ApiModelProperty(value = "求职者id	")
    private String kzpStudentIdEq;
    @ApiModelProperty(value = "旧简历id")
    private String oldResumesIdEq;
    @ApiModelProperty(value = "开始(数据来源)简历创建时间")
    private Date resumeCreateTimeStart;
    @ApiModelProperty(value = "结束(数据来源)简历创建时间")
    private Date resumeCreateTimeEnd;
    @ApiModelProperty(value = "简历id")
    private String resumesIdEq;
    @ApiModelProperty(value = "开始获得时间")
    private Date getTimeStart;
    @ApiModelProperty(value = "结束获得时间")
    private Date getTimeEnd;
    @ApiModelProperty(value = "证书名称")
    private String unitNameLike;
    @ApiModelProperty(value = "大于排序")
    private Integer sortNumGreater;
    @ApiModelProperty(value = "小于排序")
    private Integer sortNumLess;
    @ApiModelProperty(value = "是否显示 1:是:Y,0:否:N")
    private List showFlagIn;
    @ApiModelProperty(value = "是否删除 1:删除:Y,0:正常:N")
    private Integer delFlagEq=0;
    @ApiModelProperty(value = "版本")
    private Integer verisonEq;

    public ResumeCertificateSearch() {
        setDelFlagEq(0);
    }



    /**
    * 返回子类Sub
    * @return
    */
    public abstract Sub getSubThis();

    @Override
    public String createTimeFiled() {
        return ResumeCertificate.CREATE_TIME;
    }
    @Override
    public String updateTimeFiled() {
        return ResumeCertificate.UPDATE_TIME;
    }
    @Override
    public String  setDefaultField() {
        return ResumeCertificate.CREATE_TIME;
    }
    @Override
    public String pkField() {
        return ResumeCertificate.ID;
    }

    @Override
    public String  toString() {
        return "ResumeCertificateSearch{}"+super.toString();
    }
    public Sub setIdIn(List idIn){
        this.idIn = idIn;
        setInField(ResumeCertificate.ID, idIn);
        return getSubThis();
    }
    public Sub setKzpStudentIdEq(String kzpStudentIdEq){
        this.kzpStudentIdEq = kzpStudentIdEq;
        setEqualField(ResumeCertificate.KZP_STUDENT_ID, kzpStudentIdEq);
        return getSubThis();
    }
    public Sub setOldResumesIdEq(String oldResumesIdEq){
        this.oldResumesIdEq = oldResumesIdEq;
        setEqualField(ResumeCertificate.OLD_RESUMES_ID, oldResumesIdEq);
        return getSubThis();
    }
    public Sub setResumeCreateTimeStart(Date resumeCreateTimeStart){
        this.resumeCreateTimeStart = resumeCreateTimeStart;
        setDateStartField(ResumeCertificate.RESUME_CREATE_TIME, resumeCreateTimeStart);
        return getSubThis();
    }
    public Sub setResumeCreateTimeEnd(Date resumeCreateTimeEnd){
        this.resumeCreateTimeEnd = resumeCreateTimeEnd;
        setDateEndField(ResumeCertificate.RESUME_CREATE_TIME, resumeCreateTimeEnd);
        return getSubThis();
    }
    public Sub setResumesIdEq(String resumesIdEq){
        this.resumesIdEq = resumesIdEq;
        setEqualField(ResumeCertificate.RESUMES_ID, resumesIdEq);
        return getSubThis();
    }
    public Sub setGetTimeStart(Date getTimeStart){
        this.getTimeStart = getTimeStart;
        setDateStartField(ResumeCertificate.GET_TIME, getTimeStart);
        return getSubThis();
    }
    public Sub setGetTimeEnd(Date getTimeEnd){
        this.getTimeEnd = getTimeEnd;
        setDateEndField(ResumeCertificate.GET_TIME, getTimeEnd);
        return getSubThis();
    }
    public Sub setUnitNameLike(String unitNameLike){
        this.unitNameLike = unitNameLike;
        setLikeField(ResumeCertificate.UNIT_NAME, unitNameLike);
        return getSubThis();
    }
    public Sub setSortNumGreater(Integer sortNumGreater){
        this.sortNumGreater = sortNumGreater;
        setGreaterField(ResumeCertificate.SORT_NUM, sortNumGreater);
        return getSubThis();
    }
    public Sub setSortNumLess(Integer sortNumLess){
        this.sortNumLess = sortNumLess;
        setLessField(ResumeCertificate.SORT_NUM, sortNumLess);
        return getSubThis();
    }
    public Sub setShowFlagIn(List showFlagIn){
        this.showFlagIn = showFlagIn;
        setInField(ResumeCertificate.SHOW_FLAG, showFlagIn);
        return getSubThis();
    }
    public Sub setDelFlagEq(Integer delFlagEq){
        this.delFlagEq = delFlagEq;
        setEqualField(ResumeCertificate.DEL_FLAG, delFlagEq);
        return getSubThis();
    }
    public Sub setVerisonEq(Integer verisonEq){
        this.verisonEq = verisonEq;
        setEqualField(ResumeCertificate.VERISON, verisonEq);
        return getSubThis();
    }
}